package com.candy.service.impl;

import com.candy.dao.IAccountDao;
import com.candy.dao.impl.AccountDaoImpl;
import com.candy.service.IAccountService;

import java.util.*;

public class AccountSerivceImpl2 implements IAccountService {


    private String[] myStrs;
    private List<String> myList;
    private Set mySet;
    private Map<String,Object> myMaps;
    private Properties props;

    public AccountSerivceImpl2() {
    }

    public String[] getMyStrs() {
        return myStrs;
    }

    public void setMyStrs(String[] myStrs) {
        this.myStrs = myStrs;
    }

    public List<String> getMyList() {
        return myList;
    }

    public void setMyList(List<String> myList) {
        this.myList = myList;
    }

    public Set getMySet() {
        return mySet;
    }

    public void setMySet(Set mySet) {
        this.mySet = mySet;
    }

    public Map<String, Object> getMyMaps() {
        return myMaps;
    }

    public void setMyMaps(Map<String, Object> myMaps) {
        this.myMaps = myMaps;
    }

    public Properties getProps() {
        return props;
    }

    public void setProps(Properties props) {
        this.props = props;
    }

    @Override
    public void saveAccount() {
        System.out.println("myList:"+myList);
        System.out.println("mySet:"+mySet);
        System.out.println("myStrs:"+Arrays.toString(myStrs));
        System.out.println("myMap:"+myMaps);
        System.out.println("myProps:"+props);




    }
}
